the generated indexes for arrays in mips were out of bounds