force z-coordinate to be high enough before moving