add depth of binary tree