It would be useful to have, resizable allocator which preserves the existing allocations. Not sure if it is possible as is.