Include the end point when computing the grid.