Band-bending diagram