I guess it would be good if this comment featured some notes on the algorithm used. Some similar to your comment in the PR perhaps?