Add ByteWeight to _oasis

fix #23.