Check when parsing datasets if there are enough tokens, throw an informative error if not