.
american roulette algorithm itof