run the gc only after a new global best solution has been found