Inside pregel, bugs line 112