fix bb_put_bytes and bb_put_bytes_at

offset has been added in loop, you added it twice