[core] Optimization for network creation