.
american roulette algorithm xydh