Complex sentence: They are small but capable of flying short distances but great heights and lengths compared to its small size.
Split into simpler sentences: They are small but capable of flying short distances. They can fly great heights and lengths compared to its small size.