0 for kmp