lib/size: avoid recursive call to String