.
american roulette algorithm kdtw