MaxSizeConfig constructor should convert zero size to Integer.MAX_VALUE

Closes #3579