Improved efficiency of calculation of horizonLevelStrength.