[COOK-3911] Allow to use maxsize parameter.
Merge branch 'shellycloud-COOK-3911-maxsize-parameter'

[COOK-3911] Allow to use maxsize parameter.