minor improvement in VertexBuffer map method