Arrangement for varying the guiding or transport length