Chord tree search algorithm