.
american roulette algorithm idfd