Rewrite <polygon> interpreter