Make KDTree gracefully warn when forced onto single thread