Few changes while trying to parallelise ToGraphUndirected