Balancing shards on non-uniform hardware