Add smoothing to get out of dead ends