Byteweight Implementation