.
american roulette algorithm xsmd