Pseudopotential calculations for ultrathin layer heterostructures