new build macros, calculate number of gmm components form the number of residues