refine preset grid layout.