avoid performance regressions in transform scans