minor changes
divide opt_graph_cache into several small files according to some heuristics (based on the graph size)