Add Binarize performance test
Optimization
Add concurrency
remove unnecessary loop
Increase number of THREADS

Bugfix