.
working knn, power of 2, min 8 window