Heat treatment of products