REBUILD function

Build an approximation of the tensor of any order