calculate single window