Slightly more progress on balanced tree cmp.

Almost there.