modified config to generalize tile grid