Change grid structure.