Remove unneeded variable from tree reconstruction.