Dynamic Load-balancing Tensor Contractions