update step size for z axis