.
roulette online algorithm iref