Allowed machine to write over blank spaces.
Fixed reading original sequence length rather than altered-sequence length.