minor changes to table splitting