Add knearest search which begins at the leaf and reverse searches to root