It's a trick from calculus, when you do an operation on a constant, that doesn't make it dependent on the variable, it is still a constant.
So War Golem (7/7 for 7) is a lot worse than Boulderfist Ogre (6/7 for 6).
Aren't a and h supposed to be constant here too, just unresolved ones?