Simplifying grid segment.