Where in this chapter there is delegated to the Zoning Board of Appeals, Village Council or the Planning Commission the function of establishing certain physical site improvements as a contingency to securing a zoning amendment, site plan approval, special approval or variance, the Zoning Board of Appeals, Village Council or the Planning Commission may, to ensure strict compliance with any regulation contained herein or required as a condition of the issuance of a permit, require a cash, performance or surety bond executed by a reputable surety company authorized to do business in the state, or irrevocable letter of credit, in an amount determined by the Zoning Board of Appeals, Village Council or the Planning Commission to be reasonably necessary to ensure compliance hereunder; provided, however, that in fixing the amount of such cash, performance, surety bond or irrevocable letter of credit, consideration shall be given to the size and scope of the proposed improvement project, current prevailing cost of rehabilitating the premises upon default of the operator, estimated expenses to compel the operator to comply by court decree, and such other factors and conditions as might be relevant in determining the sum reasonable in the light of all facts and circumstances surrounding each application.