improve homography estimation