Background
type ByteSize is defined as Long. That might be rather imprecise causing too much difference in case of large number counts.
Feature
Make type ByteSize some number with decimal points (fixed count?) or maybe introduce another type with this precision.