Technological and cultural stagnation of the middle ages