ensuring an even distribution of data across the shards.