Hugh 9.1, intuition behind algorithm