Update tps_iter_match.py