modified deltaPDF.cc