automatically select min pool size