An optimal design of FE structures with limited ductility