Corrected creation of the loop tree: