Add some debugging messages to the balancing.