.
american roulette algorithm imid