new legacy bytes ensure