Rescaled the edges based on hdfs_written.