The value d is chosen using the sign of Z. It doesn't necessarily reduce the value of Z. Take a simple example of Z0 = 15 and step size = 45.