Applied path compression optimization.