first version with 3-point chi2red minimum search