make GetUnitNanoPieces consistent with SetUnitNanoPieces