Support the customization for picking max size.