Starting to work on alternative edge based node pruning & edge merging, found still inext bug in createEdges()