Plugging two holes in the best position