Implemented shared memory allocator