Improved efficiency of MirrorScope callback by vectorizing.