Minor refactor of min window size.