resolves constraint dependencies earlier in addConstraints