Connect neighbors to contigs