modified pregel vertex spec