.
roulette online algorithm egqn