DBSCAN using Rcpp package