Unbalanced subtrees in binary rooted ordered and unordered trees