When several nodes have the same number of splits (say at startup when all have zero) this returns the same node to all requesting tasks. Shuffling it is a hacky way to get some distribution.