Add Binarize performance test
Optimization