better memory in graph.