Added small change to insure correct information in a cuboiditerator