.
american roulette algorithm tpif