Better templight trace printout

Not the algorithm doesn't print '|' where it is not
necesearry, since we consumed the parent's last children