Scale normalization for sliding window