getRandomSubset() in BasicShuffle