Rename xgrid->xedge and ygrid->yedge