.
roulette online algorithm nmod