mid windowing