Networks: Concave costs and hierarchical structure