better new grid max counting #fix2