.
american roulette algorithm qmml