The node is meant to consider all curves cyclic, which means that it shouldn't account for one fewer segment on non-cyclic curves.
The node is meant to consider all curves cyclic, which means that it shouldn't account for one fewer segment on non-cyclic curves.