.
american roulette algorithm xsqr