fixed bug in postprocess_threaded.py when max pp size set to 0