.
american roulette algorithm hplx