swapped uint to VertexSize
some fix