.
american roulette algorithm apxn