added UnitController switch to switch from SizeUnits to Quantity.Units.