.
american roulette algorithm hprf