Refactor roulette wheel selection