A national bank may make an equity investment in any state housing corporation incorporated in the state in which the bank is located, provided that its investments do not exceed 5 percent of its unimpaired, paid-in capital stock plus 5 percent of its unimpaired surplus fund.