remove min_occ max check