code: protected void _initSegmentData(int sz) {
  		if (m_segmentParamIndex == null) {
  			m_segmentFlags = (AttributeStreamOfInt8) AttributeStreamBase
  					.createByteStream(m_pointCount,
  							(byte) SegmentFlags.enumLineSeg);
  			m_segmentParamIndex = (AttributeStreamOfInt32) AttributeStreamBase
  					.createIndexStream(m_pointCount, -1);
  		}
  
  		int size = m_curveParamwritePoint + sz;
  		if (m_segmentParams == null) {
  			m_segmentParams = (AttributeStreamOfDbl) AttributeStreamBase
  					.createAttributeStreamWithPersistence(
  							VertexDescription.Persistence.enumDouble, size);
  		} else {
  			m_segmentParams.resize(size, 0);
  		}
  	}
docs: Reviewed vs. Native Jan 11, 2011