mod/hotpot small optimaization to code that calculates grades for all hotpots