KMP complete