Optimisation of shell components subject to stability criteria