improved the algorithm.
Merge remote-tracking branch 'origin/master'