.
american roulette algorithm qpsz