commit-slab: avoid large realloc