To determine whether a one-dimensional grid should be extended, it is used that the density should integrate to one if integrated over the entire space. The grid boundaries of a one-dimensional cut are thus extended if the integrated one-mode density is smaller than one within a specified threshold. That is, no extension of the grid is needed if