Add the ability to split input data

User can control the split using -min-split-size and -max-split-size