Update grid2bounds.py