Optimized Pool allocator.