bug fixes to new StaticVector in DomainIterator