add proper ranking to psf estimation