.
american roulette algorithm hgqc