Generalized clusser.pl.