creating steps on a slope - Search