Decode size directly to int