Create extend-kmp