after each iteration, uses just the first and last $ins_length of long contigs as input.

Also puts the output contigs into a continuing file