Text this: Investigating the diameter-dependent stability of single-walled carbon nanotubes