Chris pointed me to the fact, that the window geoms calculation can be done once...