decode poly