Being more defensive on the passed application size