Stress mirror polishing for future large lightweight mirrors: design using shape optimization