Refactor pool grow/shrink api