Frei otto dance pavilion Kangaroo help

Kangaroo and Grasshopper newbie here. Been following some guides and YouTube videos such as
Anchor points in Kangaroo: Frei Otto's Dance Pavilion and https://www.youtube.com/watch?v=pjNRPPgneK0 and made my own script, but I have no idea why I’m getting this error bellow:

Solution exception: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.

I’m clearly doing something wrong but have no idea what it is.

Also need to do a Karamba analysis later on, but this design should work for that as well…?
Any sort of help or feedback would be appreciated.
Thanks!

A2_Membrane04.gh (31.5 KB)

I would suggest to not hide wires. You had polylines connected to Line length goals. That does not work. Also if you don’t flatten the solver input, you can get the path 0;0 from the outputs which is the mesh you connected to the show component.

This definition converges.

A2_Membrane05.gh (36.7 KB)

The file @Nick_Bruscia shared in this topic is running smoothly, you may want to check it out.