.
american roulette algorithm bpdh