.
american roulette algorithm xapz