Added a MAX_BLOCK_SIZE constant