Improved error message for unsupported operators
Extracted a parseSize helper function
Improved error message for invalid sizes