removed debug statements from grids.hh