On any nonconforming structure or portion of a structure containing a nonconforming use, work may be done on ordinary repairs, or on repair or replacement of nonbearing walls, fixtures, wiring, or plumbing, to an extent not exceeding 10% of the current replacement cost of the nonconforming structure or nonconforming portion of the structure, as the case may be, provided that the cubic content existing when it became nonconforming shall not be increased.