.
american roulette algorithm qind