find edges