rewrote find_useable_slab