sliding window calculation of the visible window delays