.
american roulette algorithm iwij