switched to using KDTree since its much faster and we are now using the cloned version of the packages