check_balanced: update to use stree