.
american roulette algorithm zcmp