Confined state energies in AGNR semiconductor–semiconductor heterostructure