check pool_size