Add a cut on number (in addition to fraction) of bad pixels in CModel.