You don't need to protect the entire coastline, just already-developed parts of it that would present an extreme disruption to let flood. $6-10bn in the grand scheme of New York City is nothing (well, assuming anybody gives a shit about NYC in 300 years).