Modified temperature stack to include external weighted mean