Memory usage optimisation in cp-als reconstruct