Building or reconfiguring networks