.
american roulette algorithm bzlj