Matrix multiplication until blockwise