.
online roulette algorithm qfor