I did understand this logic... why compare the ratio of the window with 0.2?