Added fix for 64-bit graph generation.