Replace LCS algorithm with LIS

Use Longest Increasing Subsequence algorithm instead of Longest Common
Subsequence to generate Shortest Edit Script for children
repositioning.

LIS algorithm is much more faster than LCS(Myers' diff) in the worst
case scenarios.