The ANT protocol engine will only accept valid serial messages with predefined sizes, as described in the "ANT Message Protocol and Usage Document", so changing that definition in the library will not enable you to send commands of arbitrary length to ANT. It is also not possible to change the length of packets transmitted over the air; it will always be 8 bytes.