add with-repeatable-random-numbers macro, use 8th Mersenne prime as seed