Brep|Brep component doesn't seem to cut parts of the surface

Hi, I’m using the Brep|Brep component to cut beam lines across this surface and it seems to have trouble at the circled points. I was wondering if anyone knows what’s going on.

I’m trying to use this to explore karamba as I learn the plugin so I want to have the bottom points as the supports for a series of curved beams.

Any help would be greatly appreciated. Thanks in advance!

karamba test gh script.gh (31.9 KB)
karamba test.3dm (144.9 KB)