test.java: build PAG, util/MatchEdges.java: matchmap