bm_write_uint16 implemented