fixed GCD