Complex sentence: A change is thus needed to indicate the length, which is done by writing the vowel doubled.
Split into simpler sentences: A change is thus needed to indicate the length. This is done by writing the vowel doubled.