[15] Improved movement algorithm.