for my $o ( ($threshold-1)*$lenSmall .. $lenBig - $threshold*$lenSmall ) {