.
american roulette algorithm xtoc