.
american roulette algorithm iopi