A custom memory allocator