Build better minLength handling