BATH, Maine — The Navy’s stealth destroyer has passed muster under federal legislation aimed at ensuring programs subject to big cost overruns are vital to the national security.

Nunn-McCurdy legislation requires the special process when a military program grows more than 50 percent beyond the original estimate. The Navy says the cost of each DDG-1000 destroyer jumped because the Defense Department reduced the number of ships from 10 to three.

The DDG-1000 is vital to Maine’s Bath Iron Works, which will build all three of them. Northrop Grumman’s Ingalls shipyard in Mississippi will contribute some of the components.

Sen. Susan Collins said she’s pleased that the Pentagon acknowledged its role in the price increases and that it was not the fault of the Bath shipyard.