Add byteweight implementation into extra