Scaling of row and column