max length -> min length