balancing contraints