A State member bank may make investments directly or indirectly, each of which is designed primarily to promote the public welfare, including the welfare of low- and moderate-income communities or families (such as by providing housing, services, or jobs), to the extent permissible under State law. A State member bank shall not make any such investment if the investment would expose the State member bank to unlimited liability. The Board shall limit a State member bank’s investment in any 1 project and a State member bank’s aggregate investments under this paragraph. The aggregate amount of investments of any State member bank under this paragraph may not exceed an amount equal to the sum of 5 percent of the State member bank’s capital stock actually paid in and unimpaired and 5 percent of the State member bank’s unimpaired surplus, unless the Board determines, by order, that a higher amount will pose no significant risk to the affected deposit insurance fund; and the State member bank is adequately capitalized. In no case shall the aggregate amount of investments of any State member bank under this paragraph exceed an amount equal to the sum of 15 percent of the State member bank’s capital stock actually paid in and unimpaired and 15 percent of the State member bank’s unimpaired surplus. The foregoing standards and limitations apply to investments under this paragraph made by a State member bank directly and by its subsidiaries.