If you want evenly spaced values, you need to specify start value, end value, number of steps and then the increment value is calculated. Or start value, increment value, number of steps and then the end value is calculated. If you want to keep start, end , and increment, you would recalculate the increment and use the new value instead. If you're willing to accept unevenly spaced values, add an additional step at the end where the last increment value is the difference between the end value and the current setting.