mask-mode: update mask_tot_cand in truncate_mask()