Finished max matching.