You may get some ideas/guidance by doing a site search for 'anneal'. Others have been on this road already.