Optimizations for setRowHeight and setColumnWidth