Do decoding symmetrically to encoding
Offset since line numbers to be index at 1