Check the "Balancing auto-resolve" section, near the end of this post.