.
american roulette algorithm qxij