@jkew points out that numParts = 50000 and chunkSize = 2 ** 26 is much less than double's mantissa of 2 ** 52.  @tdmanv 's analysis seems more promising.