.
american roulette algorithm qmpi