dont \(de\)serialize max_tree_depth to stay compatible