`flagByStray` uses the parameter name `freq` istead of `window`
An oversight or itentional?