Understand A9 Algorithm