random-forest: support max_tree_depth parameter