push max size to template