Rework split method.
- Return immidietely if data is empty, otherwise we get an empty array element that reports false vector size.
- Return vector instead of passing it through a const reference as an argument.