replaced linear search with binary search in rng for hypergeometric