The build modifier crashes when getting lengths of cyclic curves because `evaluated_points_by_curve` was previously always called with `cyclic` parameter set to `false`. The `cyclic` parameter necessary for `curves::segments_num` to return correct number of segments. Pull Request: https://projects.blender.org/blender/blender/pulls/128955