Fix out of bounds access to the double regs array. Given the