successfully get minimal residue