slab intersection helper