Is there a reason not to do `matching_hints["lie_group"] = r`? I don't see why you need r3.