.
roulette online algorithm tptr