use to_bytes on size strings