Enhance algorithm.

Attention to recognition one jump to two jump because of damping.