Add parseSizeString util function