Changed HBSE to use Pregel operations.