ignore updated and grid.py latex output optimized