Create Sliding window minimum