We know that g is a constant, but what about (h’-h)? How much distance does your body really travel? If you look at the beginning and end positions, notice that your forearms stay relatively vertical, while your upper arm kind of “swings” around your elbow joint. That means that the total distance traveled is about twice the length* of your upper arm (L). So if you have long arms, you’ll have to work harder than someone who is the same length but has shorter arms. Not fair! You say. I say, hey, it will make you that much stronger!
*Yes, it’s a bit of an approximation. We could always measure the distance traveled by the top of your head, etc, but it does depend on arm length and I wanted to make that point here.