removed one_multinomial_sample function