Modification random number generator