slab overlap logic added