v4. added KMP_search_all