A slightly less hacky way of setting a default max size