.
american roulette algorithm hdib