changing thresholding to simple divide by 2 to see if I can get better results