add min depth of the binary tree