Find nodes at k distance from leaf