chg: normalize extgcd to lc=1