safegcd
