change MAX_BLOCK_SIZE to 1000*1024