Title: Optimal capacity planning of multiterminal networks