.
online roulette algorithm xmat