Geometry Decals with PCG

Hi, I’d like to make something like that: PCG Geometry Decals
I could build some cubes using PCG around a mesh, but how can I force another mesh to exist based on this grid, thanks for your help, I’m on 5.7 and nodes seems to have changed a little from previous versions