The role of defects in the design of space elevator cable: from nanotube to megatube