COMPAT: last few BallTree/KDTree numpy 1.3 issues