Revit geometry creating fail

Hello there. I have some code that take some section points (for example rectangle) and create mass along nurbs curve which was created by points (3D space). Adaptive component is designed in that way to have 4 (or n) section points at the beginning, 4 (or n) at the end and 4 “rail” points that follows nurbs path. Code works well except some random places along the nurbs curve, where component just won’t be made in Revit. There is no logical reason for that errors, so please, can we discuss about solving that problem. I can provide a Dropbox link with adaptive component, Revit family, Revit file nad dynamo code, if needed.

Thanks in advance!

Sample files for question above