Squeezing carbon nanotubes