§ 24. Credit recapture. If, as of the close of any taxable year in the compliance period, the amount of the qualified basis of any building with respect to the taxpayer is less than the amount of such basis as of the close of the preceding taxable year, the credit under this article may be recaptured as provided in section eighteen of the tax law.