normalize window using its sum