No continuity in the roof structure

Hello !

I am designing a cover of the courtyard that structure resembles kind of tree. Rhino files are already prepared for surfaces that should be covered. I am in the place where I can generate this structure [1]

but it has errors because there are places where there is no continuation. [2] This is because of my way of approaching the problem of surface, generating it by using “shift”. [3] In addition there are corner areas that also have no structure or surface [4] Does anyone know of a way to solve these problems?

Files:
conopy problem.gh (44.7 KB)
Geometry.3dm (11.4 MB)