replace ahbmalloc with MemoryPool