added check that split_size parameter must be numeric and > 0