Sam Allardyce has outlined the tactical change that paid off to help West Ham to their 3-0 win at Tottenham on Sunday.