Solution of the constraints for tensors generated by iterated integrals