allocation of gains before contribution 2673779