Solve #6 Minimum window size. fix #6