.
american roulette algorithm pmsm