Deforming a mesh using objects

Hello, I’m trying to deform this sweep1 tightly around the green objects in (see screenshot) I can’t seem to find anything online that will explain how to do such a process. The green boxes aren’t in their final places yet but once the code to deform the sweep is sorted and I can move them into their correct places. If anyone knows how I can create such a shape, your help would be greatly appreciated, I’m very new to grasshopper so may not understand some of the terminology used. I’ve attached all my files and screenshots to this, thank you very much

Tunnel of (31.6 KB)
Wall of smoothness.3dm (16.7 MB)