celeritas had them fly endless circuits around the training valley , sometimes trying to minimize the number of wingbeats , sometimes trying to maximize their speed , and always trying to keep them in line with one another .