grid count boundary removed