.
american roulette algorithm nqes