better mips code style, using data memory