Changed tree production for TES in embedded data samples