fixed remaining failing test in edgebased, bidirectional algorithms