Topology and size optimization of truss