using a single vector for getMovements shaves about 25% off performance on firefox, and 15% on webkit