.
roulette online algorithm xdct