got finding overlapping psfs function working