From the info we do have (not all), it sounds like the issue was two fold:
1) Not paying the overstay fine when leaving.
2) Doing too many "visa runs" to Uruguay.
So to avoid the above issues:
1) Pay the overstay fine when leaving.
2) Forget about visa runs, just pay the overstay fine.
Am I...