Optimization of a heat exchanger chain consisting of two cold streams