The cost of capital and medieval agricultural technique