create pool & alloc space