generate shard IDs
resolved bug in histogram sort in get_fitness_cutoff