pull calcTypeName into TypePrinting class, make its type stack