pass Min and Max when validating subtree