Stopped shuffling, added maxnodes to output file