refined window size