Add correlation with numbering input date

Signed-off-by: SharplEr <sharplermc@gmail.com>
Add one thread optimization.

Signed-off-by: SharplEr <sharplermc@gmail.com>
Update all constructor with thread count set

Signed-off-by: SharplEr <sharplermc@gmail.com>