I just need to calculate the valence band maxima for a semiconductor which is actually in a heterojunction with another semiconductor. The motivation is to find the exact energy level of VB and CB of different semiconductors, which are actually in a heterojunction.