7% speedup of haralick