.
american roulette algorithm qksr