added backward loop (smooth estimation)