Procedural Abandoned House with Geometry Nodes

I’m sorry to bother you with more questions. I’m finding the grid instancing approach super useful, but I’m having troubles removing left over parts where the grids intersect.
I saw that you mentioned storing IDs of the original faces, but where and how do I use those IDs later?