Solid Union Not Working

I had some issues joining a set of extrusions into a single brep

BOOKSHELVES.3dm (62.1 KB) RANDOM_GRID_FOR_BOOKSHELVES.gh (21.3 KB)