.
american roulette algorithm pgxs