How do I merge these values?

Hi guys, I’m working on a little project. I want to make a vase in with a wire grid, but I’ve run into a small issue. when I bake the pipe block, I get 724 locally defined values, I don’t know how to merge this into a single value so I can later model some things around it without having to deal with all the separate pieces.

Can someone help me out?
Grasshopper (8.4 KB)


There will me so many duplicate curves try to remove the duplicate curves and recreate the multipipe

Thanks it worked