The relationship between step size (inc) and number of steps (i.e. length) for a given range is, inc = (stop - start)/(length -1.