.
american roulette algorithm qrev