added a combiner to reduce network traffic during graph writing. Added a test case that validates that graph constructions is fully correct.