changed edgemap from storing duplicates