More realistic version of Pregel.