Byteweight Implementation

nice catch!