Ignore tokens with length <= 3, use an iterative merge for computing centroids