.
roulette online algorithm bdiw