refine gae maxsize