Calculate moving without storing last position.
Calculate same moving behavior in batch.