.
online roulette algorithm kptq