.
american roulette algorithm diwi