Where do you edit that code? I'll compile it on linux and test it right away, have 10Mh to throw at it so should be tested within an hour.
file main.cpp, change "int rand = generateMTRandom(seed, 100000);" to "int rand = 50001;".
It will quite obviously not work, for the reasons I explained, but you're welcome to try

ps:
BTC tips appreciated, see signature, thanks.