PSIRT algorithm