1. A system comprising: a calculator that comprises R number of calculation units and a buffer having a buffer size; and a controller for configuring the calculator in at least one of a redundancy calculation mode to calculate M number of one or more redundancy blocks for data blocks of D number of words each, or a reconstruction mode to reconstruct N number of one or more information blocks of D number of words each, wherein in the redundancy calculation mode: the controller is arranged to configure the calculator according to M and R by determining a size of each data block based on a ratio between the buffer size and a number of activated calculation units in the redundancy calculation mode; and the calculator is arranged to: calculate one or more sets of parity vectors by at least a subset of the R number of calculation units of the calculator, wherein each set of parity vectors includes D number of parity vectors; and calculate M number of one or more redundancy blocks based on the one or more sets of parity vectors, and wherein in the reconstruction mode: the controller is arranged to configure the calculator according to N and R by determining a size of each reconstructed data block in response to a ratio between the buffer size and a number of activated calculation units in the reconstruction mode, wherein the N number of one or more information blocks are selected from a group of (N+M) information blocks, the group of (N+M) information blocks comprising N data blocks and M parity blocks; and the calculator is arranged to: calculate one or more sets of reconstructed data vectors by at least a subset of the R number of calculation units of the calculator, wherein each set of reconstructed data vectors includes D number of reconstructed data vectors; and generate N number of reconstructed data blocks based on the one or more sets of reconstructed data vectors.