Currently indices are never merged even if there are multiple indices connecting tensors. This leads to contraction operations featuring many small rank indices. Merging these into fewer higher dimension indices would enable better performance by allowing vectorisation and loop parallelism to be applied to these contractions.