Fixing initialization of Grid Segment.