Modeling of a profile of a PbTe semiconductor nanofilm