Sliding Window Algorithm Variable Size Drill