.
american roulette algorithm quat