add memory pool