The int is a number between 0 and keyValueShards, or the number of summers configured in the topology * the expansion multiplier.

So for however many summers we should always have ShardMultiplier number of segments that should go there