add height adaptive tree_json
add some tool and demo