Global size and shape optimization of trusses