add kth, kmp and pykdtree