Implement validateEditedClassSize()