add add maxShardsPerNode for creating a collection