Controlled for zero in GCD algorithm