Efficient Variations of the Quality Threshold Clustering Algorithm