Implemented getAllowedSizes