code: func (c Config) maximumShardSize() int {
  	maxShardSize := 0
  
  	if c.HardMaxCacheSize > 0 {
  		maxShardSize = convertMBToBytes(c.HardMaxCacheSize) / c.Shards
  	}
  
  	return maxShardSize
  }
docs: // maximumShardSize computes maximum shard size