optimization, row member retrieved from membership are already sorted
num_clusters_per_col fixed -> if more than 60 conditions, this becomes num_clusters / 2 instead of num_clusters * 2/3
removed some time-consuming writing of debugging information