Determine totalsplits when generating them