grid template: optimization