.
american roulette algorithm hksh