Voronoi: Multipipe Error: Solution Exception

Good Evening,
Im trying to build a Voronoi structure inside multiple overlapping subd volumes. I want the Voronoi structure to have different densities depending on which subd volume it is in, but still stay one connected structure.

I am getting it to work until i want to apply a multipipe to it.

Then i get the following error:

  1. Solution exception:Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

I have looked on the forum, but the problem hasnt come up.
As I am not the best in Grasshopper I would appreciate the help.
I attached the files and the script + screenshot.
Thank you in advance.
-Max


Test2.3dm (201.2 KB)
Voronoi.gh (17.2 KB)

Add this between the lines and Multipipe.
Set the tolerance to your Multipipe radius.
You have 6000 lines. It will take quite a while to optimize the network.
Topologizer/Network CleanUp - Grasshopper (grasshopper3d.com)

Thanks so much. its working now.