add ability to set minsize for ResourcePools