add least square