BlockLength -> MaxBlockLength. Added more logging.