Hi, just in case you did not fix it yourself: just change the For Loop: instead of subtracting 2 from number of points, you need only subtract 1, otherwise you’ll be missing the last segment. Here’s an example from my bp:
The Closed spline does have the same number of points, but one more segment, and this takes this into account. I hope this helps others running into the same issue.