least squares make energy go down