MaxSizeConfig constructor should convert 0 to Integer.MAX_VALUE

Closes #3579