Good point. Yes, just using the best fit could still leave a discontinuity there.
Then there is the question of discontinuities in the slope and in the second derivitive. Not as bad as a discontinuity in the function itself, but the windowing can take care of those as well.
Mark