Fine tune algorithm for moving