Second parallelization, a little bit better
Removing mutex and using atomic operations
Passing threshold and delta by cmd line