Fixed RAND_MT_MAX value