Factories grow at fastest pace in seven months