Problems about Bubble Cluster

Hi, I’m trying to use grasshopper to do research about bubble structure. The work that I’ve found is generate by Andrei(Plateau’s Laws, Soap Bubbles & Grasshopper –

I’m trying is to recreate the script starting from his. However there are some problems, I don’t know how to fix it.

If anyone can give me some helps, it will be very useful for me and I really appreciate.

bubble structure (104.5 KB)