minor
linkWeightFun
merge resolve