fix bug: in search did not estimate origin cycle correctly