From my point of view a cost based on joint change is more useful, but whichever. I like how the two options are more closely encapsulated and linked though in this ``if`` statement version.