Slight modification to the clustering strategy and threshold