added leaves, termination leaves to tree