[jc] Improved the performance of clustering algorithm with random set