add a maximum number of hints