Mechanics of ( Xe ) N atomic chains under STM manipulation