Unless I misunderstood your suggestion, it seems to me that your solutions requires little thinking to determine acceleration and other parameters to control the number of steps.I was thinking about using a function to shifts linear steps: (1) compute the linear interpolation of the n intermediate steps.