draft of split_scaffolds_into_contigs function