Where a structure which does not meet the requirements of this section existed prior to the effective date thereof, the structure can be altered or enlarged, provided the nonconformity is not enlarged, and further provided the alteration or addition does not exceed 50% of the replacement value of the existing structure.