Are you sure this won't create an extra split sometimes due to rounding down? E.g. if the file is 11 bytes and you set minSplits to 2, it will set maxSplitSize to 5, and it will create three splits (5 + 5 + 1 bytes).