Improve MIPS code generator