slicing and populate min contig length