Discrete DBSCAN algorithm optimized for discrete and bounded data.