Compute heights for each block in each column