Please Help grasshopper script!

Hello i am very new to grasshopper and am not sure what i have done wrong. I am making an architectural pavilion with intricate spaces.
i am trying to make these randomized sphere points boolean union together so that they create new forms when they are intersecting, but am having no luck.

Thank you for any help and advice to make my form more successful
finall pavillion.gh (31.3 KB)

flatten the input on your boolean union if you want all the spheres “unioned” together

Thanks for the quick reply!