(1) Assign degree 1 to the last columns of the
   matrix
(2) Assign arbitrary degrees to each of the groups of
   the matrix.
(3) Calculate a degree distribution of the combined parity
   matrix
(4) Calculate a decoding threshold for a given degree
   distribution of
Algorithm 2