Make benchmark for Util.isDistinct and Util.firstDuplicate less random.