Optimal process design for recovering effluent gas at subambient temperature