A Data Based Algorithm for Choosing the Window Width when Estimating the Integral of f2(x).