find last kth node