Defer the heat calculation until it is actually needed