In EntityPool, removing allocator and manually managing entity array