.
american roulette algorithm hamt