bugfix harp freq: make sure window iteration is contained within
specified region