ByteWeight

instead of copy-pasting, we usually move this to a third module and refer to it from both sides.