.
online roulette algorithm hsfn