finish get skewing detection by histogram