Fixed bug in optimization
Turn off hashUpdate, optimization debug messages