Design of metal structures