Finish maximum matching.