hash collision resolution via pcg random numbers