change Grid to RegularGrid