.
american roulette algorithm imif