Modified run.py to gradually thin the sampler.