Modified GraphLoader and EdgePartitionBuilder in GraphX to reduce memory usage