Fix bug with interference queries. Add knn support for compressed quadtree.