fix drift condition
equal condition
Merge branch 'master' into gcd