REFACTOR increase max times for checking