debugging crossing detection...
added example graph