Updated cluster classification code to compare sizes of cluster types