It cost several hundred million dollars and a similar endeavor would be impossibly expensive for Indonesia, a vast but poor archipelago that sits on the one of most seismically active regions in the world.