The cost of technological spread