Fixed min contig length bug