#646 change the random number generating algorithm to generate fixed numbers instead of random numbers when the duration and numOfIntegers violate minimum buffer.