.
american roulette algorithm qiec