handle orientation of steps and quit early for hard problems