Refactor PSF integration for stacked cube analysis.