Added a flag indicating whether to optimize for memory usage for graph algorithm.
Should be set for large data size and small memory.
Currently active only for standalone twitter rank.