Introduce adjPermanentArtifact
Implement algorithm stackFrames