k size window problem