(Memory) Fix Basic allocator when used with buffer merging.