Yeah I agree, returning all the grid points within the specified range is the way to go.