add maxBlockLen parameter to command line