.
roulette online algorithm bgre