Based on the Gallagher index of least squares.