fixing the jump distance