Pyrolysis with respect to recycling of polymer