Control of carbon nanotube's shape by ion bombardment