Add a more effective solution for C1_46_RandomGenerator