debugging static balancing