Max sizes function added.