Fix: removing call to set_all_path_lengths method fixes #6