CurveFit: Adjust search window according to prediction
Draw rectangle around search window