Modified Splitter logic

Now the words at the end of chunks are not splitted