defaulting ambiguous base count to sys.maxint