Method for carbon dioxide recovery from a feed stream