Optimization of gridshells as formwork systems for concrete shells