trying to fix zonotiles and findgridindices