Byteweight Implementation

got a typo here