More logic about leaves, and how they are transformed during tree growth