'modify max depth of binary tree'