Added minimum and maximum Window Size