Added declarations for edges1 and edges2
Merge. There is an error in rankEIDs