Production of windows on 4-sided machine