implement adjustedClustering.py