Gcd geometric working.