U.S. factories gather steam