Balanced CCG design based on mathematical model