initial memory pool implement