Calculates the steps of the weight
the previous step value
the step to apply to the previous value
the next step value
Calculates the steps of the weight