per window alpha optimization