[enhancement] Explanation of algorithm