Create greatest common factor