Another thing. The autoLocate when finding units in turn should be optimized.