attempt to fix keyError bug in filling contigs within scaffolds.