BF: weighted_choice returns the index from choice