Testing speed up for randomization