add settings abd params max_depth