Model calculation of polymer heterostructures