minor performance improvement
replaced another searchEdge by lookup
Merge pull request #1 from TiloW/EdgeLookup

Edge lookup