creating gen for mips + spim