search for step size