.
american roulette algorithm zgid