change block allocator to mem_pool allocator