Working if value is between keys ow deep side. Only Dijkstra do not return right path