path_similarity_flow implemented