removed sorting by pp-distance