Splitted simplification out of tokenize()