leaf constrained temp solution