Commented a difficult part of the algorithm

- only two lines of comments