restrict the maximum number of sequential discontinuous hypotheses