You can leave out the optimize() call as it doesn't change the results and is a potentially long lasting operation