add maxBlocks