f694321db0
The last point of the output was at the same location as the first point of a cyclic spline. The fix is simple, just account for the cyclic when choosing the sample edge length, and don't hard code the last sample.