prepare grid-system