I am only removing the algorithm outline. The explanation about how to choose `window` would be helpful here. Is that alright ?