Changed how the grid boundaries are determined. Now a boundary gridpoint
will extend and include the reminder, instead of the reminder being a
separate gridpoint.