adds the maximal matching library