optimized out the predecessor array when not use --mark-pred. Improved bfs_functor. Need to fix BFS bug in soc-livejournal1 dataset.