Rate-optimizing compilers for continuously non-malleable codes