.
american roulette algorithm xprc