.
online roulette algorithm bdln