Is it a bug ? I started an epic game with the Spanish as neighbours. At the beginning, they were reasonably poor, as the AI is used to be. But soon, around 1300, they had a 9000 gold treasure. I took a great amount of it against techs, but twenty years later they were at... 29000. In middle age...