finishes the MatchingMechanism.