check for window overlap n=8