Hi,
Thanks for your quick reply.
Actually in my code I need to deal with a bunch of these kind of objects and there are a lot of tensor contractions involved which lead to increase in the size.
To begin with I would like to work with just (chi)^3 sized object rather than going over the whole (chi-max)^3 tensor as it leads to considerable improvement in the performance.
Is there no way to work with a (chi)^3 sized object but at the same time have a (chi_max)^3 space allocated for it where rewrites keep happening?