add normal DBSCAN and some update to the kdtree