Optimizing slides