Difficult with joints in Grasshopper

Hi, I have a difficult with my code that I’m developing a desk type waffle but the joints don’t find another one. Please How Can I find the solution and improve my furniture to finally cut in CNC?

waffle_30.10.gh (34.2 KB)
cadeira cubo.3dm (129.3 KB)