.
american roulette algorithm zrij