See Cliff Griffin's hints here
http://www.rcfaq.com/PIC/optimize.htm