stored bits being stored in each of the cells, the method including the steps of: (a) reading the cells, thereby obtaining, for each cell, a respective plurality of read bits; and (b) correcting the read bits that correspond to the data bits in accordance with the read bits that correspond to the parity bits, wherein the correcting is effected in accordance with a priori estimates of respective p