A steady-state N balance approach for sustainable smallholder farming