An oversimplified custom heap allocator.