.
american roulette algorithm imip