Each root carries a rank, 0 at the start. Union by rank links the root of smaller rank under the other, and raises the rank of the new root by one when the two ranks were equal. Path compression makes every element met by a find point straight at the root.
c climbs three parent pointers; afterwards c, b and a hang from the root, and the next find from any of them climbs one. Ranks are not updated: a rank remains an upper bound on the height.