adding storage offset to tensor pointers