diff: halt tree-diff early after max_changes