pass `hasLines` down to splitByArraySize()