general binomial distribution