compute welch in short sliding windows