add new function 'Binarize2'