step function and local minima