Work on omptimizing kmp