.
american roulette algorithm qdwm