.
roulette online algorithm bdjn