Used to alloc and free mem as the slab