Distinguish row and column dimensions.