Extract util method block_length
Port Blocks to Parser