http://www-unix.ecs.umass.edu/~vanegmon/che402/distillation.html