Dph optimization

Optimized DPH code.