add of slice/thread matrix