store heights for rows