Thread:Sewil/@comment-259642-20120729022615/@comment-4156018-20120729162753

added the algorithm