Better errors messages on too large grids.