.
american roulette algorithm qpip