Structure of CNTnw in an inward-facing substrate-bound state