implement randomized-map-seq-from-pools