By: Kaapo Seppänen <seppanenkaapo@gmail.com>
preserve thermal tree weights and clarify zero-temperature registration