Fixed bugs in BULK splitting

Fixed a bug in bulk splitting, where rowlength was not taken into
account.