Just to save keystrokes and avoid typing down all the tensor names twice - this is just some code for hacking 
Without this it would be: a, b, c, d, e, f, g = slice_to_size(a, b, c, d ,e, f, g). Very cumbersome if names are long and similar-ish.