Precompute column/row strings