Sliding Window Algorithm Variable Size Hole