Multiple edges detection added
Minor bugfix