Optimal Control of Network Structure Growth