at a distance of about one thousand paces , vaxili halted the advance and re-formed the line , strengthening the centre and drawing the flanks forward so that they advanced along the sides of the valley .