adds support for resizing slabs