Complex sentence: Peak XV (measured in feet) was calculated to be exactly high, but was publicly declared to be in order to avoid the impression that an exact height of was nothing more than a rounded estimate.
Split into simpler sentences: Peak XV (measured in feet) was calculated to be exactly high, but was publicly declared to be. The arbitrary addition of was to avoid the impression that an exact height of was nothing more than a rounded estimate.