Simply the logging: no more printing the full grid, reduce no of log time & add parameters to determin the algo's goodness