Remove static Pregel; take maxIters in dynamic Pregel