added VertexData.median