Improve parsing size values.