read only astat of valid contigs in function ...mark_repeats