Iterator<Integer> iter = vertexData.currentIterator();
while (iter.hasNext()) {
int j = iter.next();
ChiPointer ptr = vertexData.getVertexValuePtr(j, blockId);
VertexDataType oldValue = blockManager.dereference(ptr, conv);
VertexDataType newValue = callback.map(j, oldValue);
blockManager.writeValue(ptr, conv, newValue);
}
vertexData.releaseAndCommit(i, blockId);
}