The deal could be reached by mid-January.