(1) in a manner which has the effect of reducing the difference between the fair market value and the adjusted basis of partnership properties, or
(2) in any other manner permitted by regulations prescribed by the Secretary.
(1) capital assets and property described in , or
(2) any other property of the partnership,
(1) no allocation may be made to stock in a corporation (or any person related (within the meaning of sections 267(b) and 707(b)(1)) to such corporation) which is a partner in the partnership, and
(2) any amount not allocable to stock by reason of paragraph (1) shall be allocated under subsection (a) to other partnership property.