finish cKDTree example