added support for splitting large submissions (needs more testing)