minimal depth of binary tree