You don't need to "hack" into the code with a calculator to squeeze every last possible coin out of your region. Trial, error and dedication is all it takes. And everyone can do that.
I also should note that there are already a lot of benefits to having plenty of knights and it shouldn't be overdone or realms with few nobles are doomed to fall in boring, lopsided wars.