Refinement of pentaerythritol