debugging find_center_pixelwise