.
roulette online algorithm lcxn