Set the max pool size