.
american roulette algorithm qfnd