Added popular type graf and removed multiple randomize of RNG