Fix bug about gl_count_tree
Bugs remain:
AA and DA produce different cut!!!