It doesn't matter if the length changes provided:
* you measure the round trip time often enough
* the shift affects light in both directions equally