Added multiple slabs support