Optimization: setEngine() method in tableIterator