randomized queue first pass