The impact of joint constraints on the optimal design of truss structures