t_dd_dmatmp: Use addition instead of subtraction in loop bounds