updated stop_produce_limit.py to use and rmin/max on the grid