change minimum number of cells for modality calculation to be 50%