compute the liveness of each line on each block.