generate interference graph.