Added dynamic temperature path finding.