implement auto for resource pool sizes