add fast pass to graph finalization if there is no changes to the graph
Merge pull request #70 from haijieg/master

add fast pass to graph finalization if there is no changes to the graph