having heterojunctions or graded gap